package com.gurun.camera.addDevice.presenter;


import com.gurun.camera.addDevice.entity.WifiInfoEntity;
import com.gurun.camera.addDevice.model.ISmartAddModel;
import com.gurun.camera.addDevice.model.SmarAddModelImpl;

/**
 * Created by Administrator on 2016/9/20.
 */
public class SmartAddPresenterImpl implements ISmartAddPresenter {

    private ISmartAddModel mMode = new SmarAddModelImpl();

    /**
     * start SmartAdd
     * @param entity    WifiInfoEntity includes ssid,password,capabilities;
     */

    @Override
    public void startSmartAdd(WifiInfoEntity entity) {
        mMode.startSmartAdd(entity);
    }

    /**
     * stop SmartAdd
     */

    @Override
    public void stopSmartAdd() {
        mMode.stopSmartAdd();
    }
}
